package org.se.scut.hibernate.dao.service.iface;

import java.util.List;
import java.util.Set;

import org.se.scut.hibernate.dao.model.Comment;
import org.se.scut.hibernate.dao.model.Picture;
import org.se.scut.hibernate.dao.service.utils.iface.ICreateService;
import org.se.scut.hibernate.dao.service.utils.iface.IUpdateService;
import org.se.scut.hibernate.dao.service.utils.iface.IdeleteService;

public interface IPictureService extends IUpdateService<Picture>
			, ICreateService<Picture> , IdeleteService {

	public Set<Comment> getComments(int id, int from, int count);
	
	public List<Picture> getMostCollectedPictures(int from, int count);
	
	public List<Picture> getPicturesByType(int type_id, int from, int count);
	
	public boolean increNumOfCollected(int pictureID);
	
}
